|
accurrent2 2.2.1
|
AC Current 2 Click Example. More...
Macros | |
| #define | MIKROBUS_POSITION_ACCURRENT2 MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
AC Current 2 Click Example.
This example demonstrates how to use the AC Current 2 Click board for reading the measurements from the AC Current sensor attached to the Click board input.
The demo application is composed of two sections:
Initializes the driver and logger.
Continuously reads the AC current value and logs the measured data in amperes (A).
| #define MIKROBUS_POSITION_ACCURRENT2 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |